home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000110_icon-group-sender _Wed Apr 9 08:00:41 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  16KB

  1. Received: from kingfisher.CS.Arizona.EDU by cheltenham.cs.arizona.edu; Fri, 11 Apr 1997 08:47:27 MST
  2. Received: by kingfisher.CS.Arizona.EDU; (5.65v3.2/1.1.8.2/08Nov94-0446PM)
  3.     id AA01105; Fri, 11 Apr 1997 08:47:27 -0700
  4. To: icon-group@cs.arizona.edu
  5. Date: 9 Apr 1997 08:00:41 -0700
  6. From: icon-project@cs.arizona.edu
  7. Message-Id: <5igaup$7m5@cheltenham.CS.Arizona.EDU>
  8. Organization: University of Arizona CS Department, Tucson AZ
  9. Sender: icon-group-request@cs.arizona.edu
  10. Reply-To: icon-project@cs.arizona.edu
  11. Subject: Icon Programming Language FAQ
  12. Errors-To: icon-group-errors@cs.arizona.edu
  13. Status: RO
  14. Content-Length: 14760
  15.  
  16. Archive-name: comp-lang-icon-faq
  17. Posting-Frequency: monthly
  18.  
  19.  
  20.  
  21. Frequently Asked Questions About The Icon Programming Language
  22.  
  23. Last updated: December 11, 1996
  24.  
  25. This FAQ answers various questions about the Icon programming language,
  26. ranging from what it is to how you can get it. The master copy of this FAQ
  27. is the Web page http://www.cs.arizona.edu/icon/faq.html. Other on-line
  28. documentation is available via the main Icon page at
  29. http://www.cs.arizona.edu/icon/.
  30.  
  31. This FAQ is written by Ralph Griswold and Gregg Townsend, with help from
  32. Cliff Hathaway, Clint Jeffery, and Bob Alexander.
  33.  
  34.    * 1. What is Icon?
  35.    * 2. What is Icon good for?
  36.    * 3. Where did Icon come from?
  37.    * 4. What does "Icon" stand for?
  38.    * 5. On what computers does Icon run?
  39.    * 6. Who did all these implementations?
  40.    * 7. Are there other implementations in the works?
  41.    * 8. What about different versions of Icon?
  42.    * 9. Which implementations of Icon have graphics/window capabilities?
  43.    * 10. Where can I get Icon?
  44.    * 11. Where can I get documentation about Icon?
  45.    * 12. How do I get started with Icon?
  46.    * 13. What is the Icon Project?
  47.    * 14. Where can I find examples of Icon programs?
  48.    * 15. What is Idol?
  49.    * 16. How often is material in Icon's FTP area updated?
  50.    * 17. How do I stay up to date with what's going on with Icon?
  51.    * 18. Is there a users' group for Icon?
  52.    * 19. How do I get technical support?
  53.    * 20. What do I need to run Icon?
  54.    * 21. Can I build my own implementation of Icon for a new platform?
  55.  
  56. ----------------------------------------------------------------------------
  57.  
  58. 1. What is Icon?
  59.  
  60. Icon is a very high level general-purpose programming language with
  61. extensive features for processing strings (text) and data structures. Icon
  62. is an imperative, procedural language with a syntax that is reminiscent of C
  63. and Pascal, but its semantics are at a much higher level than those
  64. languages.
  65.  
  66. Icon has a novel expression-evaluation mechanism that integrates
  67. goal-directed evaluation and backtracking with conventional control
  68. structures. It has a string scanning facility for pattern matching that
  69. avoids the tedious details usually associated with analyzing strings. Icon's
  70. built-in data structures include sets and tables with associative lookup,
  71. lists that can be used as vectors or stacks and queues, and records.
  72.  
  73. Icon is a strongly, though not statically, typed language. It provides
  74. transparent automatic type conversion. For example, if an integer is used in
  75. an operation that requires a string, the integer is automatically converted
  76. to a string.
  77.  
  78. Several implementations of Icon have high-level graphics facilities with an
  79. easily programmed window interface.
  80.  
  81. Icon manages storage automatically. Objects are created as needed during
  82. program execution and space is reclaimed by garbage collection as needed.
  83. The sizes of strings and data structures are limited only by the amount of
  84. available memory.
  85.  
  86. 2. What is Icon good for?
  87.  
  88. As a general-purpose programming language with a large computational
  89. repertoire, Icon can be used for most programming tasks. It's at its best
  90. when used build software tools, for processing text, and when ease of
  91. programming is needed for experimental and research applications.
  92.  
  93. Paradoxically, Icon is used most often for short, one-shot tasks and for
  94. very complex applications.
  95.  
  96. Icon is designed to make programming easy; it emphasizes the value of
  97. programmer's time and the importance of getting programs to work quickly.
  98. This explains its usefulness for prototyping as well as the apparent paradox
  99. of applicability to simple and complex applications.
  100.  
  101. 3. Where did Icon come from?
  102.  
  103. Icon is the latest in a series of high-level programming languages designed
  104. to facilitate programming tasks involving strings and structures. The
  105. original language, SNOBOL, was developed at Bell Telephone Laboratories in
  106. the early 60s. SNOBOL evolved into SNOBOL4, which is still in use.
  107. Subsequent languages were developed at The University of Arizona with
  108. support from the National Science Foundation.
  109.  
  110. Incidentally, Icon bears little physical resemblance to SNOBOL4, although it
  111. has similar objectives and many similar capabilities.
  112.  
  113. 4. What does "Icon" stand for?
  114.  
  115. The name Icon (which is not spelled ICON) is not an acronym nor does it
  116. stand for anything in particular, although the word "iconoclastic" was
  117. mentioned at the time the name was chosen. The name predates the now common
  118. use of "icon" to refer to small images used in graphical user interfaces.
  119. This latter usage sometimes causes persons to think mistakenly that Icon is
  120. designed to create or manipulate icons. There's not much that can be done
  121. about this.
  122.  
  123. 5. On what computers does Icon run?
  124.  
  125. The implementation of Icon is highly portable. Version 9 runs on UNIX,
  126. MS-DOS, Windows, NT, Macintosh/MPW, VAX/VMS, the Amiga, and the Acorn
  127. Archimedes. There are older versions for the Atari ST, IBM CMS and MVS, the
  128. Macintosh, and OS/2.
  129.  
  130. Icon programs also are highly portable. Most Icon programs can run on any
  131. platform that supports Icon.
  132.  
  133. 6. Who did all these implementations?
  134.  
  135. The original implementation of Icon for UNIX was done at The University of
  136. Arizona. Most of the other implementations originally were done by
  137. volunteers scattered around the world.
  138.  
  139. It's worth noting that all implementations of Icon are based on the same
  140. source code, which is written in C. This contributes to the portability of
  141. Icon itself, as well as to the portability of programs written in Icon.
  142.  
  143. 7. Are there other implementations in the works?
  144.  
  145. Work is constantly underway on implementations of Icon for new platforms.
  146. Microsoft Windows and Windows NT implementations are in beta testing.
  147.  
  148. 8. What about different versions of Icon?
  149.  
  150. Icon has evolved through a series of versions with improved and extended
  151. capabilities. The latest major version number is 9. This version includes
  152. recent changes and additions, notably in the graphics area, and runs on
  153. UNIX, MS-DOS, Macintosh/MPW, VAX/VMS, the Amiga, and Acorn Archimedes. Other
  154. implementations presently are at Version 8. Almost all programs that run
  155. under Version 8 and that do not use graphics will run under Version 9.
  156.  
  157. 9. Which implementations of Icon have graphics/window capabilities?
  158.  
  159. Icon's graphics facilities presently are supported on UNIX and VAX/VMS.
  160. Windows NT and Microsoft Windows implementations that support Icon's
  161. graphics facilities are in beta testing.
  162.  
  163. 10. Where can I get Icon?
  164.  
  165. Icon is available via anonymous FTP and on the Web. For FTP, use
  166.  
  167.      ftp.cs.arizona.edu
  168.  
  169. and cd /icon.
  170.  
  171. For the Web, use
  172.  
  173.      http://www.cs.arizona.edu/icon/
  174.  
  175. and check out the links there.
  176.  
  177. For FTP, the directory /icon/binaries contains executable versions of Icon
  178. for several systems, including several popular UNIX platforms. The directory
  179. /icon/packages contains source code, test programs, related material, and,
  180. most cases, executable binaries as well. All directories have README files
  181. with additional information.
  182.  
  183. 11. Where can I get documentation about Icon?
  184.  
  185. The definitive work on Icon is the book
  186.  
  187.      The Icon Programming Language, Griswold and Griswold, third
  188.      edition, Peer-to-Peer Communications, Inc, 1996, 386 pages, ISBN
  189.      1-57398-001-3.
  190.  
  191. This book is a complete description and reference manual for Version 9 of
  192. Icon. A technical report describes changes since that version.
  193.  
  194. There also is a book on the implementation of Icon:
  195.  
  196.      The Implementation of the Icon Programming Language, Griswold and
  197.      Griswold, Princeton University Press, 1986, 336 pages, ISBN
  198.      0-691-08431-9.
  199.  
  200. This book describes the implementation as of Version 6 of Icon. Although the
  201. implementation has changed considerably since then, the basic structure is
  202. the same. Technical reports describing recent implementation changes are
  203. included with copies of the book purchased from the Icon Project.
  204.  
  205. These books are available from the Icon Project.
  206.  
  207. Additional documentation is available via FTP in /icon/doc. Notable
  208. documents are:
  209.  
  210.    * IPD266: An Overview of Icon (text, PostScript, PDF)
  211.    * IPD281: Graphics/window facilities (PostScript, PDF)
  212.    * IPD278: Version 9.3 of Icon (text, PostScript, PDF)
  213.  
  214. There are manual pages for UNIX systems, and more documentation under the
  215. Icon web page, but there is no complete on-line documentation.
  216.  
  217. The Icon Newsletter, which includes topical material about Icon and a list
  218. of material available from the Icon Project, is published three times a year
  219. and is available on the Web. There is a subscription fee for an on-going
  220. subscription by postal mail. The Icon Analyst, a technically-oriented
  221. newsletter that features articles about programming, is published six times
  222. a year. There is a subscription fee for the Analyst. A sample copy is
  223. available on the Web.
  224.  
  225. All back issues of both newsletters are available for purchase.
  226.  
  227. 12. How do I get started with Icon?
  228.  
  229. If you're running under UNIX, check first in the /icon/binaries/unix FTP
  230. directory to see if there is a "starter kit" for your platform. Starter kits
  231. include executables, documentation, and other material.
  232.  
  233. Otherwise, go to the /icon/packages directory and get the appropriate
  234. package. Packages include documentation and other material; see the README
  235. file in that directory for more details. There is a UNIX package for
  236. platforms that lack starter kits.
  237.  
  238. If the non-UNIX package you pick up does not contain executable files, check
  239. /icon/binaries. You also may want to get the overview of Icon:
  240. /icon/doc/ipd266.txt or ipd266.ps.Z. You'll find pointers to other documents
  241. of interest in the package you pick up.
  242.  
  243. 13. What is the Icon Project?
  244.  
  245. The Icon Project is a name used by the group that develops, implements,
  246. distributes, and supports the Icon programming language.
  247.  
  248. The Icon Project is not commercial organization. It derives support from The
  249. University of Arizona, revenue from the sale of program material and
  250. documentation, and user contributions.
  251.  
  252. 14. Where can I find examples of Icon programs?
  253.  
  254. There is a large program library for Icon. It is an excellent resource for
  255. both new and experienced programmers. The library contains numerous examples
  256. of how to do things with Icon. The library also provides many useful
  257. applications, as well as hundreds of procedures that supplement Icon's
  258. built-in repertoire.
  259.  
  260. The library, like other Icon material, is available via FTP in
  261. /icon/library.
  262.  
  263. 15. What is Idol?
  264.  
  265. Idol is an object-oriented extension to Icon that provides concepts such as
  266. classes and multiple inheritance. Idol is written in Idol and is distributed
  267. as part of the Icon program library. Idol runs on almost all of the
  268. platforms that support Icon.
  269.  
  270. Additional Idol information is available from Clint Jeffery,
  271.  
  272.      jeffery@ringer.cs.utsa.edu.
  273.  
  274. 16. How often is material in Icon's FTP area updated?
  275.  
  276. New material is added when it's available. Established implementations
  277. usually are updated only when there's a new version. This typically is every
  278. year or two. The Icon program library is updated on a similar schedule.
  279.  
  280. 17. How do I stay up to date with what's going on with Icon?
  281.  
  282. The best way to find out about developments related to Icon is to read the
  283. Icon Newsletter.
  284.  
  285. You can stay up to date on the source code, which is changed much more
  286. frequently than the version on FTP is updated, by subscribing to the source
  287. update service, which provides a new version about twice a year.
  288.  
  289. There also is a subscription service for updates to the Icon program
  290. library, which provides new material about twice a year.
  291.  
  292. There is on-line information about subscribing to these services.
  293.  
  294. 18. Is there a users' group for Icon?
  295.  
  296. There is no official Icon users' group. The Icon Project maintains an
  297. electronic mailing list,
  298.  
  299.      icon-group@cs.arizona.edu.
  300.  
  301. Mail sent to this address is forwarded to subscribers. To subscribe (or
  302. unsubscribe), send a message to
  303.  
  304.      icon-group-request@cs.arizona.edu.
  305.  
  306. There is a gateway between icon-group and comp.lang.icon, an unmoderated
  307. newsgroup for discussing issues related to Icon. The gateway, which
  308. exchanges messages between the two systems, is imperfect and not under the
  309. control of the Icon Project.
  310.  
  311. The newsgroup generally provides faster response than the mailing list, is
  312. less intrusive, but sometimes suffers from inappropriate postings. The Icon
  313. Project usually sends messages of interest to the Icon community to
  314. icon-group.
  315.  
  316. 19. How do I get technical support?
  317.  
  318. The Icon Project is not a commercial organization, and its capacity for
  319. providing technical support is limited. Please use the appropriate resource
  320. when you need assistance:
  321.  
  322. Ordering Icon Material
  323.  
  324. mail:   Icon Project
  325.         Department of Computer Science
  326.         The University of Arizona
  327.         P.O. Box 210077
  328.         Tucson, Arizona 85721-0077
  329.         U.S.A.
  330.  
  331. fax:    (520) 621-4246
  332. voice:  (520) 621-6613
  333. e-mail: icon-orders@cs.arizona.edu
  334.  
  335. Getting On-Line Information and Material
  336.  
  337. web:    http://www.cs.arizona.edu/icon/
  338. ftp:    ftp.cs.arizona.edu (cd /icon)
  339. e-mail: ftpmail@cs.arizona.edu
  340.  
  341. Send a message consisting of the word help.
  342.  
  343. Assistance with Installing Icon
  344.  
  345. e-mail: icon-project@cs.arizona.edu
  346.  
  347. Bug Reports
  348.  
  349. e-mail: icon-project@cs.arizona.edu
  350. fax:    (520) 621-4246
  351.  
  352. Assistance with Programming Problems
  353.  
  354. e-mail: icon-group@cs.arizona.edu
  355. news:   comp.lang.icon
  356.  
  357. Uploading Files
  358.  
  359. ftp:    ftp.cs.arizona.edu (cd /incoming)
  360.  
  361. After uploading, send e-mail to icon-project@cs.arizona.edu.
  362.  
  363. 20. What do I need to run Icon?
  364.  
  365. Icon will run on most computers. Under MS-DOS, the Icon interpreter needs at
  366. least 500 KB of application RAM to work well.
  367.  
  368. 21. Can I build my own implementation of Icon for a new platform?
  369.  
  370. As mentioned above, Icon is written in C and the source code is available.
  371. The existing implementations are testament to its portability. (A small
  372. amount of assembly-language code is required for a context switch, but this
  373. is only needed for an optional feature -- co-expressions -- that can be
  374. disabled without affecting other features of Icon.)
  375.  
  376. New ports involve platform-specific configuration parameters and, in some
  377. cases, platform-specific code. The feasibility of a new port and the amount
  378. of work it may take depends on the platform -- its architecture, its C
  379. compiler, and its environment.
  380.  
  381. Ports to new UNIX platforms generally are easy, although novel architectures
  382. may present problems. Ports to new operating systems generally are more
  383. difficult, especially if Icon's graphics facilities are implemented.
  384.  
  385. The Icon Project provides what help it can with new ports. In return, it
  386. asks that code related to the port to be returned to the Icon Project for
  387. inclusion in future versions of the source code for Icon. This makes the new
  388. port available to others as well as to the porter when Icon is updated.
  389.